<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_元素的显示模式</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            border: 5px solid #f00;
            display: block;
        }
        span{
            background-color: #f00;
            width: 100px;
            height: 100px;
            display: inline;
            display: block;
        }
        input,button{
            width: 100px;
            height: 100px;
            background-color: yellow;
        display: inline-block}
    </style>
</head>
<body>
    <div class="d1">111</div>
    <div class="d2">222</div>
    <div class="d3">333</div>
    <hr>
    <span>1234567890</span>
    <span>1234567890</span>
    <span>1234567890</span>
<hr>
<input type="text">
<input type="text">
<button>按钮</button>
</body>
</html>